<?php $this->_extends('_layouts/bocib_layout'); ?>

<?php $this->_block('content');?>

<div id="content">
	<h2><?=$_SESSION['lname'];?> 老师, <?=$notice;?></h2>
	<p class="jump"><a href="<?=url('bofaculty/listtdoc');?>">查看所有课件 >></a></p>
	<form action="<?=url('bofaculty/addtdoc');?>" method="post" enctype="multipart/form-data">
		<div>
			<input type="hidden" name="teacher_id" value="<?=$_SESSION['tid'];?>" />
			<label>请选择课程：</label>
			<select name="course_id">
				<?php foreach($ycourses as $course) { ?>
				<option name="course_id" value="<?=$course->course_id;?>"><?=$course->course;?></option>
				<?php } ?>
			</select>
			<input type="file" name="tdoc" />
			<input type="submit" value="提交" />
		</div>
	</form>
</div>

<?php $this->_endblock('content');?>